/**
 * Copyright (C) 2009 Noel Ang
 *
 * This file is part of Samsara.
 *
 * Samsara is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Samsara is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Samsara.  If not, see <http://www.gnu.org/licenses/>.
 ******************************************************************************/
package com.lunarshades.samsara.ui.actions;

/**
 * This class represents logging stop events.
 *
 * @author Noel Ang, sparta.variable@gmail.com
 */
public class LoggingStopEvent extends LoggingStartEvent {

/**
 * Create a LoggingStartEvent.
 */
public LoggingStopEvent() {
}

protected String initMessage() {
    StringBuffer buffer = new StringBuffer();
    buffer.append("----- Logging stopped on ");
    buffer.append(time()).append(" -----");
    return buffer.toString();
}
}
